<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Array.of()</title>
  </head>
  <body>
    <p>    <p>Array.of()将一组值转换为数组</p></p>
      <pre>
          Array.of();    // []
          Array.of(undefined) // [undefined]
          Array.of(1)     // [1]
          Array.of(1,2,3)    //  [1,2,3]
      </pre>
  </body>
</html>
<script>
        Array.of();    // []
        Array.of(undefined) // [undefined]
        Array.of(1)     // [1]
        Array.of(1,2,3)    //  [1,2,3]
</script>